package com.firmboy.dubbo_pro.provider;

import com.alibaba.dubbo.config.annotation.Service;
import com.firmboy.dubbo_api.service.DemoService;

/**
 * 实现类
 *
 * @author firmboy
 * @create 2018-05-16 下午7:41
 **/
@Service
public class DemoServiceImpl implements DemoService {


    @Override
    public Integer add(Integer a, Integer b) {
        System.out.println("add方法被调用");
        return a+b;
    }
}
